package com.chinasoft.ecommerceconsumptionanalysissystem.service.impl;

import com.chinasoft.ecommerceconsumptionanalysissystem.mapper.AbnormalConsumeUserMapper;
import com.chinasoft.ecommerceconsumptionanalysissystem.pojo.AbnormalConsumeUser;
import com.chinasoft.ecommerceconsumptionanalysissystem.service.AbnormalConsumeUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AbnormalConsumeUserServiceImpl implements AbnormalConsumeUserService {

    @Autowired
    private AbnormalConsumeUserMapper abnormalConsumeUserMapper;

    @Override
    public List<AbnormalConsumeUser> selectAll() {
        return abnormalConsumeUserMapper.selectAll();
    }

    @Override
    public int insert(AbnormalConsumeUser abnormalConsumeUser) {
        return abnormalConsumeUserMapper.insert(abnormalConsumeUser);
    }
}
